<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>介绍 | 顶管蓝牙通讯协同测量脚手架</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="本脚手架是用来完成Node.js操作测量设备的串口通讯框架.">
        <meta name="generator" content="GitBook 2.5.2">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="gitbook/style.css">
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    <link rel="next" href="./数据库设计/readme.html" />
    
    

        
    </head>
    <body>
        
        
    <div class="book" data-level="0" data-chapter-title="介绍" data-filepath="README.md" data-basepath="." data-revision="Mon Nov 09 2015 02:47:43 GMT+0800 (中国标准时间)">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter active" data-level="0" data-path="index.html">
            
                
                    <a href="./index.html">
                
                        <i class="fa fa-check"></i>
                        
                        介绍
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="数据库设计/readme.html">
            
                
                    <a href="./数据库设计/readme.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.</b>
                        
                        数据库设计
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="数据库设计/工程.html">
            
                
                    <a href="./数据库设计/工程.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        工程
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="数据库设计/目标点.html">
            
                
                    <a href="./数据库设计/目标点.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        目标点
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="数据库设计/全站仪.html">
            
                
                    <a href="./数据库设计/全站仪.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        全站仪
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="数据库设计/测距仪.html">
            
                
                    <a href="./数据库设计/测距仪.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.</b>
                        
                        测距仪
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="./" >顶管蓝牙通讯协同测量脚手架</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h1 id="&#x9876;&#x7BA1;&#x84DD;&#x7259;&#x901A;&#x8BAF;&#x534F;&#x540C;&#x6D4B;&#x91CF;&#x811A;&#x624B;&#x67B6;">&#x9876;&#x7BA1;&#x84DD;&#x7259;&#x901A;&#x8BAF;&#x534F;&#x540C;&#x6D4B;&#x91CF;&#x811A;&#x624B;&#x67B6;</h1>
<h1 id="1&#x6982;&#x8981;">1.&#x6982;&#x8981;</h1>
<p>&#x672C;&#x811A;&#x624B;&#x67B6;&#x662F;&#x7528;&#x6765;&#x5B8C;&#x6210;Node.js&#x64CD;&#x4F5C;&#x6D4B;&#x91CF;&#x8BBE;&#x5907;&#x7684;&#x4E32;&#x53E3;&#x901A;&#x8BAF;&#x6846;&#x67B6;.</p>
<p>&#x672C;&#x6846;&#x67B6;&#x5C06;&#x5C01;&#x88C5;&#x5927;&#x90E8;&#x5206;&#x4EEA;&#x5668;&#x8BBE;&#x5907;&#x7684;&#x5E38;&#x7528;&#x64CD;&#x4F5C;&#x6307;&#x4EE4;,&#x76EE;&#x524D;&#x6253;&#x7B97;&#x652F;&#x6301;&#x7684;&#x8BBE;&#x5907;&#x6709;:</p>
<ul>
<li>&#x6D4B;&#x8DDD;&#x4EEA;</li>
<li>TPS&#x5168;&#x7AD9;&#x4EEA;</li>
</ul>
<h1 id="2&#x7F16;&#x8BD1;">2.&#x7F16;&#x8BD1;</h1>
<p>&#x8BE5;&#x6846;&#x67B6;&#x91C7;&#x7528;<code>TypeScript</code>&#x7F16;&#x5199;,&#x5F53;&#x524D;&#x7684;&#x7F16;&#x8BD1;&#x7248;&#x672C;&#x4E3A;<code>1.7.0dev</code>.
&#x8981;&#x4F7F;&#x7528;<code>TypeScript</code>,&#x4F60;&#x5FC5;&#x987B;&#x5148;&#x5B89;&#x88C5;TypeScript:</p>
<pre><code>npm install -g TypeScript@next
</code></pre><h1 id="3es&#x6807;&#x51C6;">3.ES&#x6807;&#x51C6;</h1>
<p>&#x8BE5;&#x6846;&#x67B6;&#x91C7;&#x7528;<strong>ES6</strong>&#x8BED;&#x6CD5;&#x6807;&#x51C6;&#x6765;&#x7F16;&#x5199;,&#x4F46;&#x8FD0;&#x884C;&#x5E73;&#x53F0;&#x7684;&#x8BED;&#x6CD5;&#x6807;&#x51C6;&#x662F;ES5.</p>
<p>&#x56E0;&#x6B64;,&#x4F60;&#x8FD8;&#x5FC5;&#x987B;&#x5B89;&#x88C5;<code>babel</code>&#x6765;&#x5BF9;&#x751F;&#x6210;&#x7684;ES6&#x4EE3;&#x7801;&#x8FDB;&#x884C;&#x8F6C;&#x6362;.</p>
<pre><code>npm install -g babel
npm install -g babel-runtime
</code></pre><h1 id="4task">4.Task</h1>
<p>&#x6846;&#x67B6;&#x91C7;&#x7528;Gulp&#x6765;&#x6784;&#x5EFA;&#x4EFB;&#x52A1;,&#x76EE;&#x524D;&#x7684;Task&#x6709;:</p>
<ul>
<li>compile:&#x7F16;&#x8BD1;TS&#x4EE3;&#x7801;&#x5230;ES5</li>
<li>watch:&#x5B9E;&#x65F6;&#x7F16;&#x8BD1;TS&#x4EE3;&#x7801;&#x5230;ES5</li>
<li>typedoc:&#x6839;&#x636E;&#x6CE8;&#x91CA;&#x751F;&#x6210;&#x9879;&#x76EE;ts&#x7684;documents</li>
<li>esdoc:&#x6839;&#x636E;&#x6CE8;&#x91CA;&#x751F;&#x6210;&#x9879;&#x76EE;&#x7684;es6&#x7684;documents</li>
</ul>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        
        <a href="./数据库设计/readme.html" class="navigation navigation-next navigation-unique" aria-label="Next page: 数据库设计"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="gitbook/app.js"></script>

    
    <script src="gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-livereload/plugin.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"highlight":{},"search":{},"fontsettings":{"theme":"white","family":"sans","size":2},"livereload":{}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
